//
//  KDNewFeatureRequestTool.m
//  PublicSentimentMonitorSystem
//
//  Created by 魏强 on 15/6/11.
//  Copyright (c) 2015年 魏强. All rights reserved.
//

#import "KDNewFeatureRequestTool.h"
#import "KDBaseTool.h"
#import "KDLoginParam.h"
#import "KDLoginResult.h"
@implementation KDNewFeatureRequestTool
+ (void)getLoginWithParam:(KDLoginParam *)param success:(void (^)(KDLoginResult *responseObejct))success failure:(void(^)(NSError *error))failure
{
    NSString *url = [NSString stringWithFormat:@"%@%@",ServerActionAddr,param.method];
//    [KDBaseTool get:url param:param resultClass:[KDLoginResult class] success:success failure:failure];
    [KDBaseTool post:url param:param resultClass:[KDLoginResult class] success:success failure:failure];
}
@end
